# coding=utf-8

AUTH_COOKIE_NAME="ECS"

ROUTE = {
    "route": "/",
    "route_static": "/static",
    "route_upload": "/upload",
    "route_api": "/api",
    "route_web": "/web",
    "route_admin": "/my_administration",
}

#过滤URL
IGNORE_URLS = [
    "^/web/user/login",
]

#完全过滤，页面资源
IGNORE_CHECK_LOGIN_URLS = [
    "^/static",
    "^/favicon.ico",
    "^/static/upload",
]

#接口api
API_IGNORE_URLS = [
    "^/api/user/login",
    "^/api/order/callback"
]

#瓜瓜拼购
MINA_APP = {
    'appid':'wx81d13c38b5a5a3c5',
    'appkey':'118a63b2477baf1b390a9063d81ffd17',
    'paykey':'f6c8466ecf7b62d3fa1c1728d70c3929',
    'mch_id':'1535036971',
    'callback':'/api/order/callback',
}

#打印机
YILIANYUN = {
    "customer_id" : 61723,
    "app_id" : 1089056818,
    "secret" : "372506267636644e464da27a78df5899",
    "machine_code" : "4004606803"
}

#短信
ALIYUN_SMS = {
    'region' : "cn-beijing",
    'access_key_id' : "LTAI6IogtZ6Dspxr",
    'access_key_secret' : "4WuyfDqX0WOc67vNvpq8TWOILvjOOc",
    'sign_name' : "廿加",
    'template_code' : "SMS_161265187"
}

